package com.example.smartcity1.bean;

import com.google.gson.annotations.SerializedName;

public class MyRegisterPostBean {
    public MyRegisterPostBean() {
    }

    public MyRegisterPostBean(String userName, String nickName, String phonenumber, String sex, String password) {
        this.userName = userName;
        this.nickName = nickName;
        this.phonenumber = phonenumber;
        this.sex = sex;
        this.password = password;
    }

    /**
     * userName : cnds
     * nickName : 张三
     * phonenumber : 18574353453
     * sex : 1
     * password : 123456
     */

    @SerializedName("userName")
    private String userName;
    @SerializedName("nickName")
    private String nickName;
    @SerializedName("phonenumber")
    private String phonenumber;
    @SerializedName("sex")
    private String sex;
    @SerializedName("password")
    private String password;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
